package com.aspose.cells;

class ztd {
   private Workbook a;
   private zok b;

   ztd(zok var1) {
      this.a = var1.a;
      this.b = var1;
   }

   void a(zcfx var1) throws Exception {
      var1.b(true);
      var1.b("Types");
      var1.a("xmlns", (String)null, "http://schemas.openxmlformats.org/package/2006/content-types");

      for(int var2 = 0; var2 < this.b.o.size(); ++var2) {
         znt var3 = (znt)this.b.o.get(var2);
         if (var3.a) {
            this.a(var1, var3.b, var3.d);
         } else {
            this.b(var1, var3.c, var3.d);
         }
      }

      var1.b();
      var1.d();
      var1.e();
   }

   private void a(zcfx var1, String var2, String var3) throws Exception {
      var1.b("Default");
      var1.a("Extension", (String)null, var2);
      var1.a("ContentType", (String)null, var3);
      var1.b();
   }

   private void b(zcfx var1, String var2, String var3) throws Exception {
      var1.b("Override");
      var1.a("PartName", var2);
      var1.a("ContentType", var3);
      var1.b();
   }
}
